Today, when I was working on a job interview, David asked me to add a title: The difference between ID and name in HTML. A listen to Ah, the HTML ID and name what is the difference, but usually in use, not how to think, just so use it, oh, in fact,
ID differs from name in HTMLA name can correspond to multiple controls at the same time, such as checkbox and radioAnd the ID must be the only one in the full-text filePurpose of the ID1) ID is the identity of the HTML element, mainly in the client
ID differs from name in HTMLa name can correspond to multiple controls at the same time , such as checkbox and radioAnd the ID must be the only one in the full-text filePurpose of the ID1) ID is the identity of the HTML element, mainly in the client
Difference between ID and name in HTML
A name can correspond to multiple controls at the same time, such as checkbox and radio.
The ID must be unique in the entire document.
Purpose of ID1) ID is the identity of HTML elements, mainly used in client
ID and name are basically the same as tags. name is an old method, and ID is invented Based on name. It is more extensive than name "modernization. the original name (when it was just issued) is used for turning the page to the previous one. We
Html framework-Multi-dialog box (same id) processing, html framework dialog box id
Most of the data on a website is refreshed asynchronously. There is nothing to say about it. Now, many front-end and back-end frameworks know that the frameworks are
The difference between the ID and Name attributes of HTML elements. The idname attribute of html elements
Differences between the ID and Name attributes of HTML elementsToday, I was suddenly excited. I want to learn more about the specific
Uploading the value of the select drop-down box to the id is a matter of interest to netizens. I will search for it and share it with you.
The complete code is as follows::
HTML code:
The Code is as follows:
EOT; if($step==1){ print
Difference
It can be said that almost every person who has done web development has asked, exactly what is the difference between an element's ID and a name? Why do I have ID and name?! And also we can get the most classical answer: ID is like a
It can be said that almost every person who has done web development has asked, exactly what is the difference between the ID and name of the element? Why is there an ID and name?! And also we can get the classical answer: ID is like a person's
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.